﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Public;
using DAL;

namespace BLL
{
    public class DanTocBLL
    {
        public static List<DanTocPublic> LoadDanToc()
        { 
            return DanTocDAL.LoadDanToc();
        }
        public static void InsertDanToc(DanTocPublic dt)
        {
            DanTocDAL.InsertDanToc(dt);
        }
        public static int LoadMaDT()
        {
            return DanTocDAL.LoadMaDT();
        }
        public static void UpdateDanToc(byte MaDT, string TenDanToc)
        {
            DanTocDAL.UpdateMaDT(MaDT, TenDanToc);
        }
        public static DanTocPublic LoadDanTocByMaDT(int MaDT)
        {
            return DanTocDAL.LoadDanTocByMaDT(MaDT);
        }
        public static List<DanTocPublic> LoadBieuDoDanToc()
        {
            return DanTocDAL.LoadBieuDoDanToc();
        }
        public static void XoaDanToc(byte MaDT)
        {
            DanTocDAL.XoaDanToc(MaDT);
        }
        public static int KiemTraDantToc(byte MaDT)
        {
            return DanTocDAL.KiemTraDantToc(MaDT);
        }

    }
}
